Slim bandwidth reservation protocol over an IP network

ABSTRACT

A media gateway is coupled to an Internet Protocol (IP) network through a router. The router and the media gateway communicate through a slim protocol that allows the media gateway to reserve connections over the IP network that have certain minimum bandwidth and latency attributes. The router handles the obtaining of the requested IP circuit for the client. The media gateways only need to execute a relatively simple client application and do not have to be independently capable of obtaining IP-QoS information from the IP network.

BACKGROUND OF THE INVENTION

A. Field of the Invention

This invention relates generally to voice over Internet Protocol (VoIP) network connections, and more particularly, to a protocol for reserving bandwidth over an IP network.

B. Description of Related Art

VoIP is a term used in IP telephony for a set of facilities for managing the delivery of voice information using the Internet Protocol (IP). In general, this means sending voice information in digital form in discrete packets rather than in the traditional circuit-committed protocols of the public switched telephone network (PSTN).

Quality of service (QoS) is a significant factor in developing VoIP networks. An acceptable voice call should maintain minimum bandwidth and latency levels throughout the call. This is in contrast to traditional IP-based communications in which variable connection quality is acceptable. Accordingly, IP networks tend to not have native QoS guarantees.

In an effort to enable IP networks to provide guaranteed bandwidth data paths, protocols for reserving resources in an IP network have been developed. Such protocols include the resource reservation protocol (RSVP) and the CR-LDP protocol. Hosts running RSVP request specific qualities of service from a network for particular application data streams or flows. RSVP, however, from the perspective of the client devices running RSVP, can be a relatively complex protocol that occupies the place of a transport protocol in the protocol stack. Additionally, RSVP requires its clients to include a fairly large version of the IP stack.

There is a need in the art for a resource reservation protocol that overcomes the limitations of existing systems and methods.

SUMMARY OF THE INVENTION

A slim protocol for reserving QoS levels over an IP network is described that gives clients a real-time “digested” picture of the available QoS links without requiring the clients to actually query the IP network to obtain the QoS links.

A first aspect consistent with the invention is directed to a method that includes transmitting a first message to a router requesting a connection over an IP network to a specified destination. The connection has quality of service requirements. The method further includes receiving a second message from the router indicating whether the requested connection is available and transmitting data over the requested connection when the requested connection is available. Further, the method includes receiving a third message from the router when the needed connection quality of service requirements over the requested connection can no longer be met.

A second aspect consistent with the invention is directed to a system for completing a VoIP call. The system includes a voice gateway that links a PSTN to an IP network, the voice gateway includes a client component that is configured to transmit a message requesting a connection over the IP network to a second voice gateway. The system further includes a router in the IP network that includes a server component. The server component receives the message requesting the connection. The server component includes a first table and a second table. The first table is configured to store a list of media gateways. The second table is configured to store valid IP connections in the IP network and bandwidth and latency information associated with the valid IP connections.

Another aspect consistent with principles of the invention is directed to a network device. The network device includes a protocol handler component configured to interpret and respond to received messages exchanged in a connection reservation protocol. The messages are used to inform media gateways of IP connections having minimum specified bandwidth and latency specifications. The network device further includes a first table configured to store a list of other network devices using the connection reservation protocol and a second table configured to store the IP connections and the bandwidth and latency specifications associated with the IP connections.

Yet another aspect consistent with principles of the invention is directed to a method. The method includes receiving a first message requesting a connection over an IP network to a specified destination, the connection having connection quality of service requirements. The method further includes establishing a connection over the IP network having the connection quality of service requirements, transmitting a second message identifying the established connection, and transmitting a third message when the quality of service of the established connection falls below the connection quality of service requirements.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate the invention and, together with the description, explain the invention. In the drawings,

FIG. 1 is a diagram illustrating an exemplary network consistent with principles of the invention;

FIG. 2 is a diagram illustrating portions of the network shown in FIG. 1 in additional detail;

FIG. 3 is a diagram illustrating possible functional elements of a server component;

FIG. 4 is a flow chart illustrating a basic operation of the ISVoice protocol consistent with an aspect of the invention;

FIG. 5 is a diagram illustrating an exemplary format for a message exchanged consistent with an aspect of the invention;

FIG. 6 is a diagram illustrating a header area of the message shown in FIG. 5;

FIG. 7 is a diagram illustrating a message object of the message shown in FIG. 5;

FIG. 8 is a diagram illustrating the network shown in FIG. 2 and including surrounding edge routers and voice gateways; and

FIG. 9 is a diagram illustrating the network shown in FIG. 8 in which failed connection occurs between routers.

DETAILED DESCRIPTION

The following detailed description of the invention refers to the accompanying drawings. The same reference numbers may be used in different drawings to identify the same or similar elements. Also, the following detailed description does not limit the invention. Instead, the scope of the invention is defined by the appended claims and equivalents.

A media gateway, such as a voice gateway, is functionally connected to an IP network through a router. The router and the media gateway communicate through a slim protocol, called the ISVoice protocol herein, that allows the media gateway to reserve connections over the IP network that have certain minimum bandwidth and latency attributes.

Network Overview

FIG. 1 is a diagram illustrating an exemplary network 100 consistent with principles of the invention. Network 100 may be used to implement VoIP telephone calls. Telephone calls may originate and terminate at telephones 102-1 through 102-6. Telephones, such as telephones 102-1 through 102-3, may be connected to conventional public switched telephone networks (PSTNs) 103-1 and 103-2. Calls originating in PSTNs 103-1 and 103-2 may be converted into VoIP calls by voice gateways 104-1 and 104-2. Alternatively, telephones may be connected directly to a voice gateway, such as voice gateway 104-3, for direct conversion into a VoIP call.

Voice gateways 104 perform tasks similar to those performed by PSTNs 103 and additionally perform gateway functions between IP network 101 and PSTNs 103. More particularly, voice gateways 104 may be responsible for call origination, call detection, analog-to-digital conversion of voice, and creation of voice packets (CODEC functions). Voice gateways 104 may include optional features, such as voice (analog and/or digital) compression, echo cancellation, silence suppression, and statistics gathering.

Although voice gateways 104 are described herein as handling voice traffic, voice gateways 104 may be more generally referred to as media gateways that can also handle multimedia data streams, such as a video data stream.

ISVoice Protocol

The ISVoice protocol operates on voice gateways and routers in network 100 to allow voice gateways to request network connections. The ISVoice protocol will now be described in further detail.

FIG. 2 is a diagram illustrating portions of network 100. Two voice gateways, 104-1 and 104-2, are illustrated in FIG. 2. These voice gateways may connect to network 101 through edge routers 205 and 206. Edge routers 205 and 206 may connect to voice gateways 104-1 and 104-2 via any convenient IP protocol, such as TCP. Edge routers 205 and 206 are coupled to one another through IP network 201. Network 201 may include a number of internal routers, data links, and other computing devices (not shown) that transport data packets through network 201. Voice gateways 104-1 and edge router 205 may be coupled through a local area network. Similarly, voice gateway 104-2 and edge router 206 may be coupled through a second local area network.

Edge routers and voice gateways are generally well known in the art. Accordingly, the basic operation of these devices will not be described further.

Voice gateways 104, as part of their gateway function, receive voice calls from, for example, a PSTN network, and transmit the calls as a series of packets to a destination voice gateway. Thus, voice gateway 104-1 may receive a call, determine that voice gateway 104-2 is the appropriate destination gateway, and open a connection through network 101 on which the call is to be transmitted. When the callers begin speaking, the call is transmitted through voice gateway 104-1 and network 101 to voice gateway 104-2, which completes the call to the end user.

The bandwidth and latency requirements for a particular call being handled by the voice gateways may change depending on the type of call. Consistent with an aspect of the invention, voice gateways may, using the ISVoice protocol, request a connection through network 101 having minimum bandwidth and latency requirements from an edge router. Voice gateway 104-1, for example, may send messages to edge router 205 requesting a connection with a certain bandwidth and latency requirement. Edge router 205 then responds to voice gateway 104-1 based on the connections it can locate through network 201.

More particularly, the ISVoice protocol may be implemented between voice gateways and edge routers through software applications residing on the voice gateways and edge routers. These software applications are illustrated in FIG. 2 as client components 210-1 and 210-2, residing on voice gateways 104-1 and 104-2, respectively, and server components 211-1 and 211-2, residing on edge routers 205 and 206, respectively. Client component 210-1 communicates with server component 211-1 and client component 210-2 communicates with server component 211-2.

In general, a server component, such as server component 211-1, handles the creation of the IP connection between edge router 205 and edge router 206, which then creates the connection to voice gateway 104-2. Server component 211-1 may then present the IP connection to client component 210-1 as an “IP circuit.” Server component 211-1 generally creates and manages the IP circuits at the request of client component 210-1. Server component 211-1 may, for example, implement an IP circuit through network 201 via an IP interface stacked above an L2 interface that fulfills the destination, bandwidth, and latency requirements of the IP circuit. From the point of view of client component 210, the IP circuit can be thought of simply as a connection to a particular destination and having given bandwidth and latency attributes.

FIG. 3 is a diagram illustrating possible functional elements of one of server components 211. Server component 211 may maintain two tables: a daemon table 301 and an IP circuit table 303.

Voice gateway table 302 stores the identity of those voice gateways that are expected to connect to server component 211. Table 302 may additionally store attributes associated with each of the voice gateways. These attributes may include a list of the IP circuits each voice gateway is entitled to use based on the IP circuit destination address and administrative state information pertaining to the voice gateways.

IP circuit table 303 keeps track of the voice gateway that “owns” a particular IP circuit, keeps track of the state of the IP interface corresponding to each IP circuit, and keeps track of the current latency measurements for the IP circuits. In one implementation, the possible IP circuits are preconfigured into server component 211. In an alternate implementation, server component 211 may dynamically discover suitable IP circuits in network 101.

TCP socket handler 304 performs initial processing of data received via the TCP sockets of the router. TCP socket handler 304 may, for example, communicate with voice gateways 104 via a series of messages exchanged between TCP socket handler 304 and the voice gateways. Protocol handler 305 may interpret the received messages and generate outgoing messages that are consistent with the ISVoice protocol. Protocol handler 305 may also monitor the created IP circuits and update voice gateways 104 when the status of an IP circuit changes. TCP socket handler 304 may additionally store the TCP socket that is being used to communicate with the router and administrative status information for the router.

FIG. 4 is a flow chart illustrating a basic operation of the ISVoice protocol. One of client components 210, such as client component 210-1 of voice gateway 104-1, in response to receiving a call, may send a message to server component 211-1 (Act 401). The message requests an IP circuit to the destination specified by the call and having a minimum bandwidth and latency attributes required by the call. In response, server component 211-1 sends a message back to the voice gateway 210-1 confirming or denying the request (Act 402). The message may indicate that an IP circuit having the requested attributes is available. Alternatively, the message may indicate that the requested IP circuit is not available, but that an IP circuit having different attributes, such as a lower bandwidth or higher latency, is available. The voice gateway may then begin transmitting data over the offered IP circuit (Act 403). If the attributes of the IP circuit change, server component 211-1 may transmit a message to client component 210-1 informing the voice gateway of the new attributes (Act 404 and 405). Network failure, for example, may cause the IP circuit to lose its ability to supply the initial bandwidth level. Eventually, client component 210-1 may release the IP circuit (Act 406).

As previously mentioned, client components 210 and server components 211 executing the ISVoice protocol communicate with one another by exchanging messages. FIG. 5 is a diagram illustrating an exemplary format for a message 500 exchanged consistent with an exemplary aspect of the invention. Message 500 includes a common header area 501 followed by one or more message objects 502-1 through 502-N.

FIG. 6 is a diagram illustrating header area 501 in additional detail. Header 501 may contain a version field 601, a flags field 602, a message-type field 603, an MBZ (must be zero) field 604, and a message length field 605. Version field 601 may be a four bit field that identifies the version of ISVoice that is being implemented by the sender of the message. Flags field 602 may be a four-bit field in which each bit is a flag that is either set or cleared. For example, one of the bits may be a flag that is set if an IP circuit is currently up and cleared if the IP circuit is down. Another bit, when set, may be a flag that indicates that latency information is not provided in the message and should be ignored. Other information may also be indicated by the bits in flags field 602. In alternate implementations, the entire field represents a value having a corresponding meaning.

Message-type field 603 may be an eight bit field used to identify the type of message. Possible message types for one potential implementation of the ISVoice protocol are shown below in Table I.

TABLE I Message-Type Name Direction Comments 0x01 Keep Alive VG^(<—>)ROUTER Message used to monitor health of TCP session. 0x02 IP Circuit VG^(—>)ROUTER Message used to Registration add/update an IP Request circuit. 0x03 IP Circuit VG^(—>)ROUTER Message used to Unregistration remove an IP Request circuit. 0x04 IP Circuit VG^(—>)ROUTER Message used to Report Request explicitly request information about an IP circuit. 0x05 IP Circuit VG^(<—)ROUTER Message used to Event notify changes in IP circuit. 0x06-0xFF Unused Open for future needs.

In the implementation shown in Table I, the voice gateway sends messages to the edge router using one of four different message types (“Keep Alive”, “IP Circuit Registration Request”, “IP Circuit Unregistration Request”, and “IP Circuit Report Request”). Similarly, the edge router sends messages to the voice gateway using one of two different message types (“Keep Alive” and “IP Circuit Event”).

MBZ (must be zero) field 604 may be a 16-bit field that provides a level of error checking for a received message. MBZ field 604 should be set to zero. When a message is received, the receiving component may initially check the version field 601 and the MBZ field 604. The version number in version field 601 should match a recognized version number. MBZ field 604 should always be set to zero. If either of these states are not met in the message, the receiving component may generate an error.

Message-length field 605 may be a 32-bit field that contains the size of the message, in octets, including the common header 501 and all message objects 502. The message-length field 605 may be aligned on a 32 bit boundary.

FIG. 7 is a diagram illustrating a message object 502 in additional detail. Message object 502 may include object-length field 701, object-ID field 702, object field 703, and pad field 704. Object-length field 701 may be a 16-bit field that includes the size of the object, in octets. Object-ID field 702 may be a 16-bit field that identifies a type of the object. Table II, below, lists a number of possible object types according to an implementation consistent with the invention. Object field 703 may be a variable length field that includes the actual object body. The object body is interpreted by the receiving component based on the object type in object-ID field 702. Because objects 502 are aligned on octet boundaries, pad field 704 may be needed to pad an object to an octet boundary. Pad field 704 is generally ignored.

TABLE II Object-ID Name Comments 0x0001 IP Circuit ID Uniquely identifies an IP circuit. 0x0002 IP Circuit Provides the attributes of an IP circuit. Attributes 0x0003 IP Circuit Provides feedback on an IP circuit. Event 0x0004- Unused Open for future needs. 0xFFFE 0xFFFF Keep Alive Provides keep alive information.

Referring to Table II, the objects transmitted in messages 500 provide a relatively simple information set between server components 211 and client components 210 that describe an IP circuit created through network 201.

FIG. 8 is a diagram illustrating network 201 (FIG. 2), including surrounding edge routers and voice gateways, in additional detail. Multiple edge routers 805-808 connect to internal “core” routers 810-813. Switches 815 and 816 connect voice gateway 801 to edge routers 805 and 806, and switches 817 and 818 connect voice gateway 802 to edge routers 807 and 808.

An exemplary end-to-end connection 830 is shown in FIG. 8 between voice gateways 801 and 802. The IP circuit portion of this connection is formed between edge router 805 and edge router 807. In one implementation, the IP circuit portion of connection 830 may be negotiated by edge router 805 using the multiprotocol label switching (MPLS) protocol. MPLS is a well known protocol that enables traffic engineering over networks. MPLS generally involves setting up a specific path, called a label switched path (LSP), for a given sequence of packets, identified by a label put in each packet, thus saving the time needed for a router to look up the address to the next packet forwarding node.

FIG. 9 is a diagram illustrating the network shown in FIG. 8. In FIG. 9, however, the end-to-end connection between voice gateways 801 and 802, labeled as end-to-end connection 931, takes a different path through routers 810-813. In this situation, assume that the connection between routers 810 and 812 has failed. MPLS includes a fast reroute feature allowing the new connection 931 to be formed that bypasses the failed link.

As is illustrated in FIGS. 8 and 9, the LSPs through network 201 that implement the IP circuits seen by edge routers 801 may be dynamically modified via a protocol such as the MPLS protocol. From the point of view of voice gateway 801, the IP circuit that the voice gateway is using does not change. Voice gateway 801 is not aware of, and does not need to be configured to run, the MPLS protocol. Instead, through operation of the ISVoice protocol, edge routers 805-808 handle this aspect of the connection for the voice gateways. If, however, the new connection shown in FIG. 9 does not meet the previously given bandwidth requirement, the ISVoice protocol will send a message from edge router 805 to voice gateway 801 indicating as much.

CONCLUSION

The ISVoice protocol, as described above, allows media gateways to reserve connections of a specified quality over an IP network. The media gateways only need to execute a relatively simple client application and do not have to be independently capable of reserving IP-QoS information from the IP network. The client requests IP circuits having specified bandwidth and latency requirements from a router running a corresponding software component. The router handles the obtaining of the requested IP circuit for the client.

The foregoing description of preferred embodiments of the invention provides illustration and description, but is not intended to be exhaustive or to limit the invention to the precise form disclosed. Modifications and variations are possible in light of the above teachings or may be acquired from practice of the invention.

Moreover, while a series of acts has been presented with respect to FIG. 4, the order of the acts may be different in other implementations consistent with principles of the invention. In particular, non-dependent acts may be implemented in parallel. Additionally, lines with arrows are used in the figures to generally illustrate the flow of data. In practice, embodiments consistent with the principles of the invention may send data on these lines in both directions.

No element, act, or instruction used in the description of the present application should be construed as critical or essential to the invention unless explicitly described as such. Also, as used herein, the article “a” is intended to include one or more items. Where only one item is intended, the term “one” or similar language is used.

The scope of the invention is defined by the claims and their equivalents. 

1. A system for completing a voice over Internet Protocol (VoIP) call comprising: a voice gateway that links a public switched telephone network (PSTN) to an IP network, the voice gateway including a client component to transmit a message requesting a connection over the IP network to a second voice gateway, where the message includes information indicating a minimum quality of service level requested by the voice gateway for the requested connection; and an edge router in the IP network, the edge router including a server component to receive and respond to the message requesting the connection over the IP network based on the minimum quality of service level, the server component including: a first table to store a list of other voice gateways in the IP network, and a second table to store valid IP connections in the IP network and bandwidth and latency information associated with the valid IP connections, where the edge router uses the first and second tables to manage IP circuits on behalf of the voice gateway.
 2. The system of claim 1, where the IP connections include label switched protocol (LSP) connections.
 3. The system of claim 1, where the server component transmits a second message to the client component relating to establishment of the requested connection.
 4. The system of claim 3, where the server component transmits a third message to the client component when a quality of service level of the requested connection falls below the minimum quality of service level.
 5. The system of claim 1, where the server component further comprises: a protocol handler component configured to interpret and respond to the message received from the client component.
 6. The system of claim 5, where the server component further comprises: a transmission control protocol (TCP) socket handler configured to initially process messages received via a TCP socket of the router.
 7. The system of claim 1, where the server component establishes the requested connection using a label switching protocol.
 8. A network device comprising: a protocol handler component to interpret and respond to received messages exchanged in a connection reservation protocol, the messages being used to inform a media gateway of Internet Protocol (IP) connections having minimum specified bandwidth and latency specifications, where the messages exchanged in the connection reservation protocol include a message to the network device that includes a request for the IP connection having the minimum specified bandwidth and latency specifications; a first table to store a list of other network devices using the connection reservation protocol; and a second table to store the IP connections and the bandwidth and latency specifications associated with the IP connections, where the network device uses the first and second tables to manage IP circuits on behalf of the media gateway.
 9. The network device of claim 8, where the network device is a router.
 10. The network device of claim 9, further comprising: a transmission control protocol (TCP) socket handler to initially process messages received via a TCP socket of the router from the media gateways.
 11. The network device of claim 8, where the messages exchanged in the connection reservation protocol include: a second message sent by the network device that indicates when the requested IP connection is available.
 12. The network device of claim 11, where the messages exchanged in the connection reservation protocol include: a third message sent by the network device when the specified bandwidth and latency specifications fall below the minimum specified bandwidth and latency specifications.
 13. A method performed by a device comprising: receiving, by a device, a first message, from a voice gateway, requesting a connection over an Internet Protocol (IP) network to a specified destination, the connection having quality of service requirements; establishing, by the device, a connection over the IP network having the quality of service requirements on behalf of the voice gateway; transmitting, by the device, to the voice gateway, a second message identifying the established connection; and transmitting, by the device, to the voice gateway, a third message when the quality of service of the established connection falls below the quality of service requirements.
 14. The method of claim 13, where the second message includes parameter values associated with the quality of service requirements of the connection.
 15. The method of claim 14, where the parameter values include a bandwidth value and a latency value.
 16. The method of claim 13, further comprising establishing the requested connection using the multiprotocol label switching (MPLS) protocol.
 17. The method of claim 13, where the connection is a label switched protocol (LSP) connection.
 18. A device comprising: means for receiving requests from voice gateways to establish connections having minimum quality of service parameters over an IP network; means for establishing the requested connections over the IP network on behalf of the requesting voice gateways; means for informing the voice gateways of the established connections; and means for informing the voice gateways of changes in the quality of service parameters below the minimum quality of service parameters.
 19. The system of claim 1, where the message request from the voice gateway includes at least one of: a keep alive message type, an IP circuit registration request, an IP circuit unregistration request, or an IP circuit report request.
 20. The network device of claim 8, where messages from the media gateway include at least one of: a keep alive message type, an IP circuit registration request, an IP circuit unregistration request, or an IP circuit report request.
 21. The device of claim 18, where the requests from the voice gateways include at least one of: a keep alive message type, an IP circuit registration request, an IP circuit unregistration request, or an IP circuit report request. 